﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="cpntraining_books_list.aspx.cs" Inherits="Catering.UserTraining.SlrCompanyTrainning.cpntraining_books_list" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../../../Style/ZHJG/zhezhao.css" rel="stylesheet" type="text/css" />
    <script src="../../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="../../../Style/center.css" />
    <style type="text/css">
        .style2
        {
            width: 196px;
        }
        .pointer
        {
            cursor: pointer;
        }
        table tr td{min-height:28px; line-height:28px;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="padding-left:0px; margin: 10px auto; width: 998px; height: 30px; line-height: 30px; font-size: 13px; font-weight:bold; padding-top: 0px; background: url(/Images/div_h1_bg_02.gif);">
        &nbsp;&nbsp;当前位置：公司级培训-课件维护
    </div>
    <div style="padding-left: 0; margin: 0 auto; width: 998px; height: 46px; line-height: 40px;
        font-size: 13px; padding-top: 0px; background: url(/Images/div_h1_bg_02.gif);">
        <table>
            <tr>
                 <td>
                    <asp:Button ID="btn_Refresh" runat="server" Text="刷新" class="input_btn_a" OnClick="btnSearch_Click" />
                </td>
                <td>
                    <asp:Button ID="btnAdd" runat="server" Text="新增" class="input_btn_a" OnClick="btnAdd_Click" />
                </td>
                <td>
                    <asp:Button ID="btn_ReturnIndex" runat="server" Text="返回" class="input_btn_a" onclick="btn_ReturnIndex_Click" />
                </td>
            </tr>
        </table>
    </div>
    <div style="padding: 0px; text-align: center; height: 29px; margin-top: 10px">
        <table cellpadding="0" cellspacing="0" style="overflow: hidden; margin: 0 auto; width: 998px;
            border-left: 1px solid #8b8888; border-top: 1px solid #8b8888; margin: auto;
            font-size: 12px;">
            <thead>
                <tr style="background: url(../../../Images/th_02bg.gif) repeat-x 0px 0px; height: 29px;">
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        序号
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        课件名称
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        类别
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        作者
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        大小(KB)
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        上传日期
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        上传者
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        学习时长
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                        备注
                    </td>
                    <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888" class="style2">
                        操作
                    </td>
                </tr>
            </thead>
            <tbody>
                <asp:Repeater ID="Repeater1" runat="server" onitemcommand="Repeater1_ItemCommand">
                    <ItemTemplate>
                        <tr>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%# Container.ItemIndex + 1%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#Eval("BookName")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#Eval("BookTypeID")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888;">
                                <%#Eval("BookAuthorName")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#(Convert.ToDouble(Eval("BookSize").ToString())/1024.00).ToString("0.00")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#Eval("UpDateTime")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#Eval("UpUserID")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#Eval("LearnTime")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <%#Eval("Remarks")%>
                            </td>
                            <td style="border-bottom: 1px solid #8b8888; border-right: 1px solid #8b8888">
                                <asp:LinkButton ID="LinkButton3" CommandArgument='<%#Eval("BookID")%>' CommandName="down" runat="server">下载</asp:LinkButton>
                                &nbsp;
                                <asp:LinkButton ID="LinkButton1" CommandArgument='<%#Eval("BookID")%>' CommandName="edit" runat="server">编辑</asp:LinkButton>
                                &nbsp; 
                                <asp:LinkButton ID="LinkButton2" OnClientClick="return confirm('确认删除？');" CommandArgument='<%#Eval("BookId")%>' CommandName="del" runat="server">删除</asp:LinkButton>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </tbody>
        </table>
    </div>
    </form>
</body>
</html>
